package com.jams.goodox.entity.resp;

import com.jams.goodox.entity.PageInfoBean;
import com.jams.goodox.entity.Product;
import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by jams on 2016/8/15.
 * ***
 * Tel: ***
 */

public class OnLineProductListResp extends BaseEntity {

    /**
     * pageInfo : {"curPage":1,"hasMore":false,"pageSize":20,"total":0}
     * resultList : [{"classId":"1b4b512a-c0e0-11e5-a004-00163e005381","className":"测试001","sgList":[{"activityType":2,"originalPrice":"0.00","productCoverimg":"/img/previous/sub/product_005134ec-9889-11e4-901d-ac853da49bf6142086744717474.jpg","productId":"005134ec-9889-11e4-901d-ac853da49bf6","productLimitBuy":0,"productName":"茅台液 窖藏三星","productPrice":"65.00","productSold":0,"productStock":100000,"productUnit":"/瓶","retailPrice":"240.00"},{"activityType":2,"originalPrice":"0.00","productCoverimg":"/img/previous/sub/product_004e5750-ed91-11e4-901d-ac853da49bf6143022853534116.png","productId":"004e5750-ed91-11e4-901d-ac853da49bf6","productLimitBuy":0,"productName":"泰国榴莲","productPrice":"55.00","productSold":0,"productStock":100000000,"productUnit":"元/箱（斤，数量为个）","retailPrice":"205.00"}]}]
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * curPage : 1
         * hasMore : false
         * pageSize : 20
         * total : 0
         */

        private PageInfoBean pageInfo;
        /**
         * classId : 1b4b512a-c0e0-11e5-a004-00163e005381
         * className : 测试001
         * sgList : [{"activityType":2,"originalPrice":"0.00","productCoverimg":"/img/previous/sub/product_005134ec-9889-11e4-901d-ac853da49bf6142086744717474.jpg","productId":"005134ec-9889-11e4-901d-ac853da49bf6","productLimitBuy":0,"productName":"茅台液 窖藏三星","productPrice":"65.00","productSold":0,"productStock":100000,"productUnit":"/瓶","retailPrice":"240.00"},{"activityType":2,"originalPrice":"0.00","productCoverimg":"/img/previous/sub/product_004e5750-ed91-11e4-901d-ac853da49bf6143022853534116.png","productId":"004e5750-ed91-11e4-901d-ac853da49bf6","productLimitBuy":0,"productName":"泰国榴莲","productPrice":"55.00","productSold":0,"productStock":100000000,"productUnit":"元/箱（斤，数量为个）","retailPrice":"205.00"}]
         */

        private List<ResultListBean> resultList;

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public List<ResultListBean> getResultList() {
            return resultList;
        }

        public void setResultList(List<ResultListBean> resultList) {
            this.resultList = resultList;
        }

        public static class ResultListBean {
            private String classId;
            private String className;
            /**
             * activityType : 2
             * originalPrice : 0.00
             * productCoverimg : /img/previous/sub/product_005134ec-9889-11e4-901d-ac853da49bf6142086744717474.jpg
             * productId : 005134ec-9889-11e4-901d-ac853da49bf6
             * productLimitBuy : 0
             * productName : 茅台液 窖藏三星
             * productPrice : 65.00
             * productSold : 0
             * productStock : 100000
             * productUnit : /瓶
             * retailPrice : 240.00
             */

            private List<Product> sgList;

            public String getClassId() {
                return classId;
            }

            public void setClassId(String classId) {
                this.classId = classId;
            }

            public String getClassName() {
                return className;
            }

            public void setClassName(String className) {
                this.className = className;
            }

            public List<Product> getSgList() {
                return sgList;
            }

            public void setSgList(List<Product> sgList) {
                this.sgList = sgList;
            }
        }
    }
}
